import request from '@/utils/request'

//获得审批页面
export function getApproval() {
    return request({
        url: '/approval/in-records/selectLeaveByStudentId',
        method: 'get',
       
    })
}

//发送审批状态
export function sendApproval(data) {
    return request({
        url: '/approval/in-records/approve',
        method: 'put',
        data
    })
}
